<template>
  <div id="sign">
    <div  style="display:flex;align-items: center;margin-bottom:10px;">
            <img class="top_img" src="@/assets/images/a8.png" style="width:35px;height:35px;margin-right:10px;"/>
            <div style="line-height: 40px;font-weight:bold:">签到管理</div>
     </div>  
   
   <!-- 渲染数据list -->
   <sign-list :datalist="datalist" @up_list_fun="list_fun"> </sign-list>

 
      
  </div>
</template>

<script>
import SignList from '@/view/Sign/SignList'
export default {
  name: 'sign',
  data () {
    return {
        datalist:[],

    }
  },
 components:{
    SignList
  },
  created(){
     this.list_fun()
  },
  mounted (){
    
  },
  methods: {
      list_fun(){
          this.post("/sign_reward/listData", {

	        }).then(res => {
            this.datalist = res.result
            console.log(res)
         })
      },
     

  }
}
</script>


<style scoped>

</style>
